
<!DOCTYPE html>
<html lang="zh-cn">

<!-- Mirrored from v3.bootcss.com/examples/jumbotron-narrow/ by HTTrack Website Copier/3.x [XR&CO'2013], Sun, 26 Jan 2014 11:51:18 GMT -->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">

	<title>{$arts.title} -问卷调查</title>

	<!-- Bootstrap core CSS -->
	<link href="__PUBLIC__/static/dist/css/bootstrap.css" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="__PUBLIC__/static/jumbotron-narrow2.css" rel="stylesheet">

	<!-- Just for debugging purposes. Don't actually copy this line! -->
	<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
    </head>

    <body>

     <div class="container">




       <h2 class="post-title">问卷：{$arts.title} 【分数】</h2>

       <h5 class="post-title">问卷说明：{$arts.desc}   <?php echo session('loginmember');?> <?php echo session('serialnumber');?> 
       </h5>







  			{volist name="article_contens" id="vo"}

  			<h4>问题{$i}：{$vo.title} </h4>

  			<!-- 判断题目的类型 -->
  			{switch name="$vo.type"}
  			{case value="0"}{assign name="var" value="radio" /}
  			{assign name="c1" value="" /}
  			{assign name="c2" value="" /}
  			{assign name="c3" value="" /}
  			{assign name="c4" value="" /}
  			{assign name="c5" value="" /}
  			{assign name="c6" value="" /}
        {assign name="u1" value="1" /}
        {assign name="u2" value="2" /}
        {assign name="u3" value="3" /}
        {assign name="u4" value="4" /}
        {assign name="u5" value="5" /}
        {assign name="u6" value="6" /}
  			{/case}
  			{case value="1"}{assign name="var" value="checkbox" /}
  			{assign name="c1" value="1" /}
  			{assign name="c2" value="2" /}
  			{assign name="c3" value="3" /}
  			{assign name="c4" value="4" /}
  			{assign name="c5" value="5" /}
  			{assign name="c6" value="6" /}
        {assign name="u1" value="1" /}
        {assign name="u2" value="1" /}
        {assign name="u3" value="1" /}
        {assign name="u4" value="1" /}
        {assign name="u5" value="1" /}
        {assign name="u6" value="1" /}
  			{/case}
  			{default /}{assign name="var" value="checkbox" /}
  			{assign name="c1" value="1" /}
  			{assign name="c2" value="2" /}
  			{assign name="c3" value="3" /}
  			{assign name="c4" value="4" /}
  			{assign name="c5" value="5" /}
  			{assign name="c6" value="6" /}
        {assign name="u1" value="1" /}
        {assign name="u2" value="1" /}
        {assign name="u3" value="1" /}
        {assign name="u4" value="1" /}
        {assign name="u5" value="1" /}
        {assign name="u6" value="1" /}
  			{/switch}
  			<input type="hidden" name="answerid{$i}" value="{$vo.id}" />
  			<!-- 题目的id{$vo.id} -->
  			<input type="hidden" name="var{$i}" value="{$var}" />
        <ul class="list-group">


  			 
         {notempty name="$vo.answer1"}
         <li class="list-group-item"><div class="{$var}">
        选项a：<label>
        <input type="{$var}" name="answer{$i}{$c1}"  id="answer{$i}{$c1}"  value="{$u1}"  >{$vo.answer1} 
        </label>

        </div></li>
        {/notempty}
  			


         {notempty name="$vo.answer2"}
         <li class="list-group-item"><div class="{$var}">
        选项b：<label>
        <input type="{$var}" name="answer{$i}{$c2}"  id="answer{$i}{$c1}"  value="{$u2}"  >{$vo.answer2} 
        </label>
        </div></li>
        {/notempty}
  			


         {notempty name="$vo.answer3"}
         <li class="list-group-item"><div class="{$var}">
        选项c：<label>
        <input type="{$var}" name="answer{$i}{$c3}"  id="answer{$i}{$c1}"  value="{$u3}"  >{$vo.answer3} 
        </label>
        </div></li>
        {/notempty}
  			


         {notempty name="$vo.answer4"}
         <li class="list-group-item"><div class="{$var}">
        选项d：<label>
        <input type="{$var}" name="answer{$i}{$c4}"  id="answer{$i}{$c1}"  value="{$u4}"  >{$vo.answer4} 
        </label>
        </div></li>
        {/notempty}
  			


         {notempty name="$vo.answer5"}
         <li class="list-group-item"><div class="{$var}">
        选项e：<label>
        <input type="{$var}" name="answer{$i}{$c5}"  id="answer{$i}{$c1}"  value="{$u5}"  >{$vo.answer5} 
        </label>
        </div></li>
        {/notempty}
  			


         {notempty name="$vo.answer6"}
         <li class="list-group-item"><div class="{$var}">
        选项f：<label>
        <input type="{$var}" name="answer{$i}{$c6}"  id="answer{$i}{$c1}"  value="{$u6}"  >{$vo.answer6}
        </label>
        </div>{/notempty}




</ul>

<div style="color:  {if condition="$vo.score_detail.score NEQ '0.00'"}
         green
         {else}
         red
         {/if}
         ">
         回答： {$vo.score_detail.correct} 正确答案：{$vo.correct}   分值：{$vo.score} 实际得分：{$vo.score_detail.score }
</div>
         {/volist}
<h3>总分：{$arts.total_score_user}分（满分{$arts.total_score}分）</h3>
  			  <p>

    </p>
        

  			<!-- url('index/blog/read','id=5&name=thinkphp'); -->



      <!-- 分类:{$arts.catename} | 评论:555 | 浏览:<span id="spn75">{$arts.click}</span> -->


    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
  </body>
  </html>











